 |
 |
 |
 |
 |
 |
 |
The array can be
initialised using pointers as
|
|
follows.
|
|
|
ArrayExample = new int[25];
|
|
|
which allows to
access ArrayExample just as if it
|
|
were an array.
Keep in mind that to use delete you
|
must put []
between delete and ArrayExample to
|
|
tell it to free
all 25 bytes of memory allocated.
|
|
|
delete [] ArrayExample;
|
|